home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / BOFH / HQPreferencesController.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  598 b   |  26 lines

  1. // HQPreferencesController.h
  2. //
  3. // You may freely copy, distribute, and reuse the code in this example.
  4. // Apple disclaims any warranty of any kind, expressed or  implied, as to its
  5. // fitness for any particular use.
  6.  
  7. // If you need a Preferences dialog, here is a class to get started with.  
  8. // Just uncomment the next line.
  9. // #define ENABLE_PREFERENCES
  10.  
  11. #ifdef ENABLE_PREFERENCES
  12.  
  13. #import <AppKit/AppKit.h>
  14.  
  15. @interface HQPreferencesController : NSWindowController {}
  16.  
  17. + (id)sharedPreferencesController;
  18.  
  19. - (void)readDefaults;
  20.  
  21. @end
  22.  
  23. extern NSString *HQPreferencesDidChangeNotification;
  24.  
  25. #endif
  26.